package com.baomidou.kisso.common.util;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author : fuminwang
 * @Description :
 * @CreateDate : 2017/12/07 13:58
 */
@Configuration
@PropertySource(value= "classpath:/ym-sso.properties")
@Component
public class MsConfig {
    @Value("${ms.ip}")
    private String ip;

    public String getIp() {
        return ip;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    @Value("${ms.port}")
    private String port;
}
